# !/usr/bin/env python
# -*- coding: utf-8 -*-

def sum1(a: float, b: float):
    return a + b


def sum2(*nums):
    s = 0
    for num in nums:
        s += num
    return s


def sum3(a: float, b=10):
    return a + b


if __name__ == '__main__':
    print(sum1(1, 2))
    print(sum2(1, 2, 3, 4))
    print(sum3(1))
